package question1;

public class Manager extends Worker {
    private String underling;

    public Manager() {
    }

    public Manager(String name, String department, String ID, String underling) {
        super(name, department, ID);
        this.underling = underling;
    }

    public String getUnderling() {
        return underling;
    }

    public void setUnderling(String underling) {
        this.underling = underling;
    }
}
